package luigibros.logic;

/** This class is for general use
 *to encompass all objects which will
 *be displayed on the screen. Every 
 *Super Luigi Brothers character and
 *object will extend this abstract 
 *class.
 *
 *@author Kinik
 */
public class ScreenOccupant 
{
	 /**     <code>getX()</code> is a
     * method which will return the x
     * coordinate of the <code> 
     * ScreenOccupant</code>  
     * 
     * @return location--a double value
     * which corresponds to the objects
     * current location on the screen
     */
	private double xLoc;
    private double yLoc;
    private boolean isVisible;
    
    public double getX()
    {
            return xLoc;
    }
    
    public double getY()
    {
            return yLoc;
    }
    
    public void setX(double x)
    {
            xLoc = x;
    }
    
    public void setY(double y)
    {
            yLoc = y;
    }
    
    public void setVisible(boolean v)
    {
    	isVisible = v;
    }
    
    public boolean getVisible()
    {
    	return isVisible;
    }

	public void parseCreationString(String creationString) {
		// TODO Auto-generated method stub
		
	}
}
